package com.up.tcc.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DataAtual
{
    private DateFormat mFormatador = new SimpleDateFormat("dd/MM/yyyy - HH:mm:ss");
    private Date       mDataAtual  = new Date();

    @Override
    public String toString()
    {
        return mFormatador.format(mDataAtual);
    }
    public static void main(String[] args)
    {
        System.out.println(new DataAtual());
    }
}
